package com.wmlive.hhvideo.heihei.bells.activity;

import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.os.Build;
import android.view.View;
import android.view.WindowManager;

import com.wmlive.hhvideo.common.base.DcBaseActivity;
import com.wmlive.hhvideo.heihei.bells.fragment.BellsFragment;

import cn.wmlive.hhvideo.R;

/**
 * 承载铃铛消息的activity
 */
public class BellsActivity extends DcBaseActivity {


    @Override
    protected int getLayoutResId() {
        return R.layout.activity_bells;
    }

    @Override
    protected void initData() {
        super.initData();
        addDefaultFragment();
    }

    /**
     * 加载fragment
     */
    private void addDefaultFragment() {
        getSupportFragmentManager().beginTransaction()
                .add(R.id.frame_content,BellsFragment.newInstance())
                .commit();
    }

    @Override
    protected void onSingleClick(View v) {

    }

    public static Intent getCallingIntent(Context context) {
        Intent intent = new Intent(context,BellsActivity.class);
        return intent;
    }
}
